package com.java.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author caiyuan
 * @version 1.0
 * @Date 2020/6/25 4:01 Dream-Seeker
 * @Description
 */
public class PsInspectiontaskDetail {
    private Integer id;
    private Integer taskId;
    private Integer poleId;
    private String poleCode;
    private String lineCode;
    private String lineName;
    private Integer isBug;
    private double intactRate;
    private Integer bugLevel;
    private String bugLevelName;
    private Integer bugType;
    private String bugTypeName;
    private String bugDesc;
    private String discovererCode;
    private String discovererName;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date discoverTime;
    private Integer isSolve;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date inspectTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date creationTime;
    private String createdBy;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date lastUpdateTime;

    public PsInspectiontaskDetail() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public Integer getPoleId() {
        return poleId;
    }

    public void setPoleId(Integer poleId) {
        this.poleId = poleId;
    }

    public String getPoleCode() {
        return poleCode;
    }

    public void setPoleCode(String poleCode) {
        this.poleCode = poleCode;
    }

    public String getLineCode() {
        return lineCode;
    }

    public void setLineCode(String lineCode) {
        this.lineCode = lineCode;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public Integer getIsBug() {
        return isBug;
    }

    public void setIsBug(Integer isBug) {
        this.isBug = isBug;
    }

    public double getIntactRate() {
        return intactRate;
    }

    public void setIntactRate(double intactRate) {
        this.intactRate = intactRate;
    }

    public Integer getBugLevel() {
        return bugLevel;
    }

    public void setBugLevel(Integer bugLevel) {
        this.bugLevel = bugLevel;
    }

    public String getBugLevelName() {
        return bugLevelName;
    }

    public void setBugLevelName(String bugLevelName) {
        this.bugLevelName = bugLevelName;
    }

    public Integer getBugType() {
        return bugType;
    }

    public void setBugType(Integer bugType) {
        this.bugType = bugType;
    }

    public String getBugTypeName() {
        return bugTypeName;
    }

    public void setBugTypeName(String bugTypeName) {
        this.bugTypeName = bugTypeName;
    }

    public String getBugDesc() {
        return bugDesc;
    }

    public void setBugDesc(String bugDesc) {
        this.bugDesc = bugDesc;
    }

    public String getDiscovererCode() {
        return discovererCode;
    }

    public void setDiscovererCode(String discovererCode) {
        this.discovererCode = discovererCode;
    }

    public String getDiscovererName() {
        return discovererName;
    }

    public void setDiscovererName(String discovererName) {
        this.discovererName = discovererName;
    }

    public Date getDiscoverTime() {
        return discoverTime;
    }

    public void setDiscoverTime(Date discoverTime) {
        this.discoverTime = discoverTime;
    }

    public Integer getIsSolve() {
        return isSolve;
    }

    public void setIsSolve(Integer isSolve) {
        this.isSolve = isSolve;
    }

    public Date getInspectTime() {
        return inspectTime;
    }

    public void setInspectTime(Date inspectTime) {
        this.inspectTime = inspectTime;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }
}
